package com.design.patterns.nullObject;

/**
 * @Author: jinxuan
 * @Date: 2021/3/4 16:21
 */
public class RealCustomer extends AbstractCustomer {

    public RealCustomer(String name) {
        this.name = name;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public boolean isNil() {
        return false;
    }
}